<%= simple_form_for @advertise_group, :url => @advertise_group.new_record? ? admin_recruitment_groups_path : admin_recruitment_group_path(@advertise_group), :defaults => { :input_html => { :class => "form-control" } },  remote: true, html: {class: 'form-horizontal' } do |f| %>
	<fieldset>
		<legend><%= title %></legend>
	  <%= f.input :name, label: '标题',required: true %>
	  <%= f.input :start_at, label: '开始显示时间', as: :ui_date_picker %>
	  <%= f.input :end_at, label: '结束显示时间', as: :ui_date_picker %>
	  <%= f.button :wrapped, value: '提 交' %>
  </fieldset>
<% end %>
<%= javascript_include_tag "datepicker.js" %>
<%= javascript_include_tag "prevent_label.js" %>